|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.desktop.projects.core.internals.VoiceResource
public abstract class VoiceResource
This is a concrete implementation of IVoiceToolsResource
and provides the default behavior of that interface.
| Constructor Summary | |
|---|---|
VoiceResource()
Creates a new VoiceResource. |
|
| Method Summary | |
|---|---|
void |
addRefreshListener(IRefreshListener l)
Adds the provided refresh listener to the list of listeners that will be notified if this resource should be refreshed. |
void |
deferEvents()
Causes all refresh events for this resource to be ingnored until resumeEvents() is called. |
protected void |
finalize()
|
java.lang.Object |
getAdapter(java.lang.Class adapter)
|
protected abstract java.lang.String |
getObjectId()
The object id is used by the event system to uniquely identify a project resource. |
IVoiceToolsProject |
getProject()
Returns the top level project object that contains this resource. |
void |
processObjectEvent(ObjectEvent event)
Called when an event is generated by the object being listened to. |
void |
refresh()
Causes a refresh event to be propigated to all listeners for this resource. |
void |
removeRefreshListener(IRefreshListener l)
Removes the provided refresh listener from the list of listeners that will be notified of refresh events. |
void |
resumeEvents()
Causes refresh events to once again be propigated to this resources listeners after deferEvents() has been called. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.vtp.desktop.projects.core.IVoiceToolsResource |
|---|
getName, getParent |
| Constructor Detail |
|---|
public VoiceResource()
VoiceResource.
| Method Detail |
|---|
public IVoiceToolsProject getProject()
IVoiceToolsResource
getProject in interface IVoiceToolsResource
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwableprotected abstract java.lang.String getObjectId()
public void deferEvents()
IVoiceToolsResource
deferEvents in interface IVoiceToolsResourcepublic void resumeEvents()
IVoiceToolsResource
resumeEvents in interface IVoiceToolsResourcepublic void addRefreshListener(IRefreshListener l)
IVoiceToolsResource
addRefreshListener in interface IVoiceToolsResourcel - The listener to addpublic void removeRefreshListener(IRefreshListener l)
IVoiceToolsResource
removeRefreshListener in interface IVoiceToolsResourcel - The listener to removepublic void processObjectEvent(ObjectEvent event)
ObjectListener
processObjectEvent in interface ObjectListenerevent - The event that occuredpublic void refresh()
IVoiceToolsResource
refresh in interface IVoiceToolsResourcepublic java.lang.Object getAdapter(java.lang.Class adapter)
getAdapter in interface org.eclipse.core.runtime.IAdaptable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||